package io.zsy.hello.service;

import io.zsy.hello.dao.UserDao;

/**
 * @author zhangshuaiyin
 * @date 2022/4/20 21:23
 */
public class UserService {

    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void update() {
        System.out.println("UserService update.");
        userDao.update();
    }
}
